<%@page import="java.util.List"%>
<%@page import="com.wanmait.shoppingsys.vo.Admin"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<section>
<h2>管理员注册</h2>
   <% 
				String err = request.getParameter("err");
				if(err!=null&&err.equals("1")){
				%>
				<p class="err">对不起 用户名重复了</p>
				<%
				}
				%>
<form action="/ShoppingSys/AdminController?action=reg" method="post">
            
			<fieldset>
				<label>账号</label>
				<input type="text" name="name">
			</fieldset>
			<fieldset>
				<label>密码</label>
				<input type="password" name="pass">
			</fieldset>
			<fieldset>
				<label>真实姓名</label>
				<input type="text" name="realname">
			</fieldset>
			<fieldset>
				<label>角色</label>
				<input type="text" name="actor">
			</fieldset>
			<fieldset>
				<input type="submit" value="提交">
			</fieldset>
			</form>
</section>